# Maintainer: Noam Preil <pleasantatk@gmail.com>
pkgname=pavucontrol
pkgver=5.0
pkgrel=0
pkgdesc="Pulseaudio Volume Control, GTK based mixer for Pulseaudio"
url="https://freedesktop.org/software/pulseaudio/pavucontrol/"
arch="all"
license="GPL-2.0-or-later"
depends="pulseaudio"
subpackages="$pkgname-lang $pkgname-doc"
makedepends="m4 automake gtkmm3-dev glade-dev pulseaudio-dev libcanberra-dev
	json-glib-dev"
source="https://freedesktop.org/software/pulseaudio/pavucontrol/pavucontrol-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--datadir=/usr/share \
		--disable-lynx \
		--disable-nls
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
edf404290baf2f483072202d0321d7e70c73bd269857c54acba623359a0f216eeb92c63c7e6bfc7312a8f3729bf6a6ea539a5a91f9de7c6d23667c5b0d54c37c  pavucontrol-5.0.tar.gz
"
